package com.rd.teacher.jichao.buke;

public class Flower {

    protected String color;
    protected Double price;

    public Flower(){}

    public Flower(String color,Double price){
        this.color = color;
        this.price = price;
    }

    public void showInfo(){
        System.out.println("花的颜色是"+color + ",价格是" + price);
        System.out.println("这是花");
        System.out.println("这不是草");
        System.out.println("花很漂亮");
    }

}
